package com.tcm.im.dao.mapper;

import com.tcm.im.entity.ImUserFriends;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ImUserFriendsMapper {
    ImUserFriends findFriends(@Param("uid") Long uid, @Param("friendsUid") Long friendsUid);

    int insert(ImUserFriends record);

    int deleteFriend(@Param("uid") Long uid, @Param("friendsUid") Long friendsUid);

    int update(ImUserFriends record);

    List<ImUserFriends> listFriends(Long uid);
}